package dao;

import entity.Teacher;
import exception.BysjException;
import util.Condition;
import util.Pagination;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.Collection;
import java.util.List;

public interface TeacherDaoInterface {
        Collection<Teacher> findAll(Connection connection, List<Condition> conditionLsit)
                throws SQLException, BysjException;

        Collection<Teacher> findAll(Connection connection,
                                    List<Condition> conditionList, Pagination pagination)
                throws SQLException, BysjException;
}
